Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[easylog][improve]remove some define #422

Merged
merged 2 commits into from
Aug 22, 2023

Conversation

qicosmos
Copy link
Collaborator

Why

remove HAS_FMT_LIB and HAS_STD_FORMAT simplify usage.

What is changing

Example

// fmt::format/std::format stream
#if __has_include(<fmt/format.h>) || __has_include(<format>)
  ELOGFMT(INFO, "easylog {}", 42);
#endif

@qicosmos qicosmos merged commit 9639bec into alibaba:main Aug 22, 2023
28 checks passed
@qicosmos qicosmos deleted the remove_some_define branch August 22, 2023 02:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant